import 'package:flutter/material.dart';
import 'package:ost_flutter_module/common/adapt.dart';
import 'package:ost_flutter_module/common/color.dart';

class GDivider extends StatelessWidget {
  final double indent, endIndent;
  const GDivider({Key key, this.indent = 10, this.endIndent = 10})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Divider(
      height: 0.5,
      color: colorD1D1D1,
      indent: Adapt.px(indent),
      endIndent: Adapt.px(endIndent),
    );
  }
}
